﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace FO.Models
{
    public class Product
    {
        public int ProductID { get; set; }
        public int ProductCID { get; set; }
        public string ProductName { get; set; }
        public bool Publish { get; set; }
        public string ProductIcon { get; set; }
        [Required(ErrorMessage = "Bài viết không được trống")]
        [AllowHtml]
        public string Description { get; set; }
    }
}